<?php
	/*header('Content-type: text/html; charset=utf-8');	*/
	$feed = $_POST['feed'];	
	$mailFrom = $_POST['mail'];
	
	//error_reporting(E_ALL); // Вывод ошибок.

	$to  = 'feed@shlyapa-game.com';

	$subject = 'Feedback form Shlyapa-game.com';

	$message = $feed;

	$headers  = 'MIME-Version: 1.0' . "\r\n";
	$headers .= 'Content-type: text; charset=utf8' . "\r\n";
	$headers .= "To: <{$to} >" . "\r\n";
	$headers .= "From: {$mailFrom} <{$to}>" . "\r\n";

	$result = mail($to, $subject, $message, $headers);
	echo $result;
?>
